//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package tool.test;

import java.util.StringJoiner;

public class ArrayUtil {
    public ArrayUtil() {
    }

    public static String printArr(int[] arr) {
        StringJoiner sj = new StringJoiner(",", "[", "]");

        for(int j : arr) {
            sj.add(String.valueOf(j));
        }

        return sj.toString();
    }

    public static double getAerage(double[] dbs) {
        double age = (double)0.0F;

        for(double v : dbs) {
            age += v;
        }

        return age / (double)dbs.length;
    }
}
